home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / sgi-audio < prev    next >
Encoding:
Text File  |  1995-04-11  |  16.2 KB  |  441 lines

  1. Archive-name: sgi/faq/audio
  2. Last-modified: Wed Dec 21  9:53:08 CST 1994
  3.  
  4.     SGI audio Frequently Asked Questions (FAQ)
  5.  
  6. This is one of the Silicon Graphics FAQ series, which consists of:
  7.  
  8.     SGI admin FAQ - IRIX system administration
  9.     SGI apps FAQ - Applications and miscellaneous programming
  10.     SGI audio FAQ - Audio applications and programming
  11.     SGI graphics FAQ - Graphics and user environment customization
  12.     SGI hardware FAQ - Hardware
  13.     SGI impressario FAQ - IRIS Impressario
  14.     SGI inventor FAQ - IRIS Inventor
  15.     SGI misc FAQ - Introduction & miscellaneous information
  16.     SGI movie FAQ - Movies
  17.     SGI performer FAQ - IRIS Performer
  18.     SGI pointer FAQ - Pointer to the other FAQs
  19.  
  20. Read the misc FAQ for information about the FAQs themselves.  Each FAQ
  21. is posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  22. newsgroups (whose purpose is to store FAQs) twice per month.  If you
  23. can't find one of the FAQs with your news program, you can get it by
  24. anonymous FTP from one of these sites:
  25.  
  26.     viz.tamu.edu:/pub/sgi/faq/
  27.     rtfm.mit.edu:/pub/usenet/news.answers/sgi/faq/
  28.     ftp.uu.net:/usenet/news.answers/sgi/faq/
  29.  
  30. Note that rtfm.mit.edu is home to many other FAQs and informational
  31. documents, and is a good place to look if you can't find an answer here.
  32. If you can't use FTP, send mail to mail-server@rtfm.mit.edu with the
  33. word 'help' on a line by itself in the text, and it will send you a
  34. document describing how to get files from rtfm.mit.edu by mail. Send the
  35. command 'send usenet/news.answers/sgi/faq/misc' to get the SGI misc FAQ,
  36. and similarly for the other FAQs. Finally, the FAQs are on the World
  37. Wide Web at
  38.  
  39.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/sgi/top.html
  40.  
  41. The SGI FAQs are freely distributable and we encourage wide circulation.
  42. You MUST keep the FAQs intact, including headers and this notice.  The
  43. contents are accurate as far as we know, but the usual disclaimers
  44. apply. (In particular, copies of the SGI FAQs published on paper or
  45. CD-ROM are certain to be out of date!) Please send additions and changes
  46. to sgi-faq@viz.tamu.edu.
  47.  
  48. Topics covered in this FAQ:
  49. ---------------------------
  50.    -1- How do I program the Motorola 56000 DSP on the Indigo (R3K and
  51.        R4K)?
  52.    -2- How do I connect my stereo to my Ind{igo,igo2,y}?
  53.    -3- How do I change the volume of the audio out the back of my
  54.        machine?
  55.    -4- Indigo2 speaker seems quieter than my Indigo. Am I imagining
  56.        things?
  57.    -5- I need to crank up the input gain on Indigo2 to use the
  58.        microphone successfully. What's the scoop?
  59.    -6- The glossy paper says that Indigo2 and Indy have 4-channel input
  60.        and output. That sounds really cool. How do I use it?
  61.    -7- Okay, so 4-channels of input and output is great, but I need
  62.        more. Can I get more channels of audio for my machine?
  63.    -8- Now that I have IRIX 5.X, I can't seem to find audio.h and
  64.        libaudio.a in order to compile my audio code. What gives?
  65.    -9- I like the boot tune, but it's just a bit too loud. How do I tone
  66.        it down a bit?
  67.   -10- How can I change the output speaker/headphone volume from a shell
  68.        script?
  69.   -11- What 3rd party audio solutions exist for Silicon Graphics
  70.        machines?
  71.   -12- I'd like to write my own audio programs. How do I get started?
  72.   -13- How can I get the keyboard beep out line out/digital out on
  73.        Indigo2?
  74.   -14- How do I suppress the keyboard bell (which *does* come out the
  75.        line out and digital output) on an Indy?
  76.   -15- Why does /dev/audio not work on my Ind{y,igo2,igo}?
  77.   -16- Where can I get a MOD player for SGI?
  78.   -17- I need audio for my Onyx. I've heard of VigraSound. What are the
  79.        details?
  80.  
  81. ----------------------------------------------------------------------
  82.  
  83. Subject:    -1- How do I program the Motorola 56000 DSP on the Indigo
  84.                 (R3K and R4K)?
  85. Date: 20 Aug 94 00:00:01 EST
  86.  
  87.   Short answer: You don't.
  88.  
  89.   Long answer: The DSP on the Indigo is used exclusively by the audio
  90.   system: whenever you are using the audio, you are using the DSP.
  91.  
  92.   In order to insure that audio processes are serviced, access to the DSP
  93.   is limited to the audio device driver which performs all functions on
  94.   behalf of application programs.
  95.  
  96.   Moreover, any code developed for the DSP on the Indigo may not work on
  97.   other systems since the DSP is not guaranteed to be present. For
  98.   instance, Indigo2 and Indy do not have a DSP. Audio is supported by a
  99.   combination of code running on the CPU and a audio ASIC chip. SGI
  100.   supports the Audio Library software inter- face as opposed to any
  101.   particular hardware implementation of the audio system.
  102.  
  103.   Lastly, any signal processing code developed on the host CPU benefits
  104.   from speed increases of the CPU (and this code is easier to write as
  105.   well).
  106.  
  107. ------------------------------
  108.  
  109. Subject:    -2- How do I connect my stereo to my Ind{igo,igo2,y}?
  110. Date: 20 Aug 94 00:00:01 EST
  111.  
  112.   The Line in and Line out levels have been designed to be directly
  113.   connected to conventional stereo systems.
  114.  
  115.   One way to do it is to connect it up as if the computer was a tape
  116.   recorder.  Line out on the computer connects to Rec in on the stereo
  117.   and Line in connects to Rec out.
  118.  
  119. ------------------------------
  120.  
  121. Subject:    -3- How do I change the volume of the audio out the back of
  122.                 my machine?
  123. Date: 20 Aug 94 00:00:01 EST
  124.  
  125.   The headphone and speaker volume is adjusted using apanel(1). The
  126.   sliders under the 'Speaker' label control the output volume of the
  127.   speaker and headphone. The line-level output voltage is not
  128.   affected.
  129.  
  130. ------------------------------
  131.  
  132. Subject:    -4- Indigo2 speaker seems quieter than my Indigo. Am I
  133.                 imagining things?
  134. Date: 20 Aug 94 00:00:01 EST
  135.  
  136.   No, this is not a figment of the imagination. There are two factors
  137.   at work that make the Indigo2 quieter than Indigo: 1) the speaker amp
  138.   is less powerful on Indigo2; 2) the system fan on Indigo2 is louder
  139.   than the Indigo fan. These two things lead to a quiet speaker that
  140.   seems even quieter. See the release notes for more information.
  141.  
  142. ------------------------------
  143.  
  144. Subject:    -5- I need to crank up the input gain on Indigo2 to use the
  145.                 microphone successfully. What's the scoop?
  146. Date: 20 Aug 94 00:00:01 EST
  147.  
  148.   The Indigo2 and Indy both have less input gain than the Indigo and
  149.   4D/35. However, all have plenty of gain to operate the microphone.
  150.   On the Indigo2 and Indy, you have to set the input gain to a larger
  151.   nominal level.
  152.  
  153. ------------------------------
  154.  
  155. Subject:    -6- The glossy paper says that Indigo2 and Indy have 4-
  156.                 channel input and output. That sounds really cool. How
  157.                 do I use it?
  158. Date: 20 Aug 94 00:00:01 EST
  159.  
  160.   In order to enable 4-channel audio, you must choose "4-channel mode"
  161.   from the 'Options' menu of apanel or make a call in your program to
  162.   ALsetparams(3A). See the man page for ALsetparams(3A) for more infor-
  163.   mation.
  164.  
  165.   Enabling the 4-channel mode will cause the electrical char-
  166.   acteristics of your audio connections to change: the headphone jack
  167.   will become a second line-level output (like the normal line-level
  168.   output). The mic input will become a second line-level input *if* you
  169.   have 'line' selected as your input source. If you have the input
  170.   source set to 'mic', then the mic input will continue to behave as a
  171.   microphone input.
  172.  
  173.   Lastly, when your machine is in 4-channel mode, the input and output
  174.   sample rates will be locked together. Thus, changing the input or
  175.   output rate in this mode will affect the output or input rate,
  176.   respectively.
  177.  
  178.   You may also run 4-channel applications when the audio system in in
  179.   2-channel mode, and vice versa (2-channel applications work when the
  180.   system is in 4-channel mode).
  181.  
  182. ------------------------------
  183.  
  184. Subject:    -7- Okay, so 4-channels of input and output is great, but I
  185.                 need more. Can I get more channels of audio for my
  186.                 machine?
  187. Date: 20 Aug 94 00:00:01 EST
  188.  
  189.   Sonic Solutions (San Raphael, CA) has announced that it is porting
  190.   Sonic System to SGI platforms. See below.
  191.  
  192. ------------------------------
  193.  
  194. Subject:    -8- Now that I have IRIX 5.X, I can't seem to find audio.h
  195.                 and libaudio.a in order to compile my audio code. What
  196.                 gives?
  197. Date: 20 Aug 94 00:00:01 EST
  198.  
  199.   The #include file audio.h and the library libaudio.a became a part of
  200.   the "Digital Media Developement Option" (dmdev) in IRIX 5.X.  Dmdev
  201.   contains more than just the audio development libraries, and it is
  202.   available for an extra fee. If you are like many people and think
  203.   this is a bogus situation, tell your salesperson.
  204.  
  205. ------------------------------
  206.  
  207. Subject:    -9- I like the boot tune, but it's just a bit too loud. How
  208.                 do I tone it down a bit?
  209. Date: 20 Aug 94 00:00:01 EST
  210.  
  211.   The boot tune volume is controlled by the 'volume' variable used by
  212.   the system PROM. The value for 'volume' can be set in the range
  213.   [0-255], where lower numbers represent a lower boot tune volume.  A
  214.   'volume' value of 0 disables the boot tune, viz. the tune is not
  215.   played at all.  The value of 'volume' can be set in the PROM monitor
  216.   or using the nvram(1M) command.
  217.  
  218. ------------------------------
  219.  
  220. Subject:   -10- How can I change the output speaker/headphone volume
  221.                 from a shell script?
  222. Date: 20 Aug 94 00:00:01 EST
  223.  
  224.   You can use two methods to do this: 1) apanel -nodisplay or volume.c
  225.   program (this program can be found in ~4Dgifts/examples/ libaudio
  226.   directory).
  227.  
  228. ------------------------------
  229.  
  230. Subject:   -11- What 3rd party audio solutions exist for Silicon
  231.                 Graphics machines?
  232. Date: 20 Aug 94 00:00:01 EST
  233.  
  234.   Doug Cook <cook@sgi.com> maintains a list of "Audio Applications for
  235.   Silicon Graphics Systems" which he posts to comp.sys.sgi.audio. A
  236.   copy is at viz.tamu.edu:/pub/sgi/lists/audio-apps.
  237.  
  238. ------------------------------
  239.  
  240. Subject:   -12- I'd like to write my own audio programs. How do I get
  241.                 started?
  242. Date: 20 Aug 94 00:00:01 EST
  243.  
  244.   First, for 5.2 systems you need the Digital Media Development
  245.   Option.  From Michael Portuesi (portuesi@sgi.com):
  246.  
  247.   The Digital Media Development Option contains the Video, Audio, Audio
  248.   File, MIDI, CD, DAT, Movie, and Compression Libraries for your
  249.   digital media programming enjoyment.
  250.  
  251.   The part number for the Digital Media Development Option is
  252.   SC4-DMDEV-2.0.   If you would like to develop applications which
  253.   manipulate QuickTime files, you must also order the companion
  254.   product, QuickTime 1.0 Compressor Library, part number SC4-QTCL-1.0.
  255.  
  256.   In the United States, you can order these products by calling Silicon
  257.   Graphics toll-free at 1-800-800-SGI1 (1-800-800-7441).  If you live
  258.   in a country other than the United States, contact your nearest
  259.   Silicon Graphics office, or call one of these regional telephone
  260.   numbers:
  261.  
  262.   Europe                  (41) 22-798.75.25       (Geneva, CH)
  263.   North Pacific           (81) 3-5420.71.10
  264.   South Pacific           (61) 2-879.95.00
  265.   Latin America           1(415) 390.46.37
  266.   Canada                  1(416) 625-4747
  267.  
  268.   For audio, example code is contained in ~4Dgifts/examples/libaudio.
  269.   This example code comes with the DMDEV option.  Other code
  270.   demonstrating the use of the CD and DAT audio libraries can be found
  271.   in a 'tar' file at ftp.sgi.com:~ftp/sgi/dat.
  272.  
  273. ------------------------------
  274.  
  275. Subject:   -13- How can I get the keyboard beep out line out/digital out
  276.                 on Indigo2?
  277. Date: 10 Dec 94 00:00:01 EST
  278.  
  279.   You can't. The keyboard beep is created by a chip on the Indigo2
  280.   motherboard and the signal is mixed into the analog audio signal
  281.   before going to the speaker (but after then D/A converter).
  282.  
  283. ------------------------------
  284.  
  285. Subject:   -14- How do I suppress the keyboard bell (which *does* come
  286.                 out the line out and digital output) on an Indy?
  287. Date: 10 Dec 94 00:00:01 EST
  288.  
  289.   Turning the bell off:
  290.  
  291.   xset -b    OR    xset b off
  292.  
  293.   See the xset(1) man page for more details.
  294.  
  295. ------------------------------
  296.  
  297. Subject:   -15- Why does /dev/audio not work on my Ind{y,igo2,igo}?
  298. Date: 10 Dec 94 00:00:01 EST
  299.  
  300.   The /dev/audio interface was created for the older 4D/20 platform
  301.   with 8-bit audio. The actual file /dev/audio remains on
  302.   Ind{y,igo2,igo}.
  303.  
  304.   The sole interface to audio on recent SGI machines is the Audio
  305.   Library and the underlying driver(s).
  306.  
  307.   The program 'playulaw' in the 'radio' package (ftp.cwi.nl) will play
  308.   u-law data piped from standard input. (Thanks to Walter Roberson
  309.   <roberson@ibd.nrc.ca>.)
  310.  
  311. ------------------------------
  312.  
  313. Subject:   -16- Where can I get a MOD player for SGI?
  314. Date: 10 Dec 94 00:00:01 EST
  315.  
  316.   There is an older version of 'tracker' by Marc Espie that runs on SGI
  317.   machines. It's called tracker-al and can be found at:
  318.  
  319.   ftp://viz.tamu.edu/pub/sgi/software/tracker
  320.  
  321. ------------------------------
  322.  
  323. Subject:   -17- I need audio for my Onyx. I've heard of VigraSound. What
  324.                 are the details?
  325. Date: 10 Dec 94 00:00:01 EST
  326.  
  327.   From Scott Porter (sporter@sgi.com):
  328.  
  329.   VigraSound version 1.0 now available from Vigra.
  330.  
  331.   IRIS Audio Library software now runs on Onyx/Challenge with
  332.   VigraSound VME audio board.
  333.  
  334.  
  335.   Supported platforms:
  336.   -------------------
  337.  
  338.   o  IP19 Onyx and Challenge systems
  339.   o  must be running IRIX 5.2
  340.   o  current Audio Library software supports one VigraSound board per
  341.      host
  342.  
  343.  
  344.   Software:
  345.   --------
  346.  
  347.   o  SGI and Vigra have developed an IRIS Audio Library driver module
  348.      and microcode for Vigra's VigraSound (formerly "MMI-110") audio
  349.      board.
  350.  
  351.   o  The VigraSound software is binary compatible with Indigo2, Indy,
  352.      Indigo, 4D/35 audio.
  353.  
  354.      Any SGI or 3rd party application which is linked with the IRIS
  355.      Audio Library will be able to run on an IP19 system after the
  356.      VigraSound board and vigrasound software module are installed.
  357.  
  358.   o  Collaborative applications like InPerson, MediaMail, and the
  359.      bundled IRIS media tools will now run with audio on an Onyx (no
  360.      need to recompile or relink).
  361.  
  362.   o  Onyx/Challenge customers may install the standard IRIS sound
  363.      and movie tools (e.g. Audio Control Panel, Soundeditor,
  364.      Movieplayer) from the dmedia_eoe and dmedia_tools images which are
  365.      bundled with IRIX 5.2.
  366.  
  367.   o  IP19 Onyx/Challenge developers may install the IRIS Audio Library
  368.      from the dmedia_dev image which is included in the IRIS Media
  369.      Libraries 2.0 software option product, along with the IRIS Media
  370.      Libraries Programming Guide.
  371.  
  372.  
  373.   Hardware:
  374.   --------
  375.  
  376.   o  6U VME VigraSound audio board developed by Vigra (a division of
  377.      VisiCom Laboratories, Inc.)
  378.  
  379.   o  same feature set as the Indigo/4D35 stereo audio subsystem
  380.  
  381.   o  inputs:
  382.         stereo line-level,
  383.         mono microphone (input level controlled through s/w),
  384.         stereo AES/EBU digital port
  385.  
  386.   o  outputs:
  387.         stereo line-level,
  388.         stereo headphone (output level controlled through s/w),
  389.         stereo AES/EBU digital port
  390.  
  391.   o  independent input and output sample rates
  392.  
  393.   o  input sample rates:   8, 11.025, 16, 22.05, 32, 44.1, 48 kHz
  394.         (rate may also be slaved to AES digital input rate)
  395.  
  396.   o  output sample rates:  8, 11.025, 16, 22.05, 32, 44.1, 48 kHz
  397.         (rate may also be slaved to AES digital input rate)
  398.  
  399.  
  400.   Sales and support:
  401.   -----------------
  402.  
  403.   o   SGI customers purchase the VigraSound hardware/software package
  404.       (including a CD which contains the vigrasound eoe s/w module)
  405.       directly from Vigra, Inc.
  406.  
  407.   o   List price for the VigraSound 1.0 hardware/software package:
  408.       $3995
  409.  
  410.   o   Vigra contacts for the VigraSound audio product:
  411.  
  412.       Julie Wix        Product Manager (sales contact)
  413.       Rusty Wise        VP, Sales and Marketing
  414.       Tim Elsmore        Technical Director
  415.  
  416.       Vigra phone      (619)  597-7080
  417.       Vigra fax           (619)  597-7094
  418.  
  419.       Vigra is a division of VisiCom Laboratories, Inc
  420.  
  421.   o   Customers obtain all other software (IRIX 5.2, IDO 5.2, IRIS
  422.       Media Libraries 2.0, etc) from SGI.
  423.  
  424.   o   Vigra provides front-line support for customer issues related to
  425.       the VigraSound audio product (hardware and software)  on IP19
  426.       Onyx/Challenge:
  427.  
  428.       Vigra Customer Support Group
  429.       6044A Cornerstone Court
  430.       San Diego, CA  92121-4703
  431.  
  432.       email:  techsup@vigra.com
  433.  
  434. ------------------------------
  435.  
  436. End of sgi/faq/audio Digest
  437. ******************************
  438. -- 
  439. The SGI FAQ group                                sgi-faq@viz.tamu.edu
  440. Finger us for info on the SGI FAQs, or look in viz.tamu.edu:/pub/sgi.
  441.